package com.zucc.service;

import com.zucc.controller.req.MessageAddReq;
import com.zucc.controller.req.MessageModifyReq;
import com.zucc.controller.req.MessageSearchReq;
import com.zucc.controller.resp.MessageResp;
import com.zucc.service.base.PageData;

/**
 * @author : charspan
 * @Description :
 * @create : 2021-12-05 4:29 下午
 */
public interface MessageService {
    void add(MessageAddReq req);

    void modify(MessageModifyReq req);

    void deleteOne(Long id);

    PageData<MessageResp> page(MessageSearchReq req);
}
